package com.zhiyun.mapper;

import com.zhiyun.domain.Student;

import java.util.List;

public interface StudentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Student record);

    Student selectByPrimaryKey(Integer id);

    int updateByPrimaryKey(Student record);


    Student selectByUserId(Integer id);

    Student selectByStuId(int stuId);

    List<Student> findAll();
}